<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
</head>
<body>

  <div id="app"></div>

  <!-- <script type="text/babel">
    ReactDOM.render(
      // 挂载内容
      <h1>Hello World!</h1>,
      // 挂载点
      document.getElementById('app')
    )
  </script> -->

  <script type="text/babel">
    class HelloMessage extends React.Component {
      render() {
        return (
          <div>
          Hello {this.props.name}
          </div>
        )
      }
    }

    ReactDOM.render(
      <HelloMessage name="Meoga Zemg" />,
      document.getElementById('app')
    )
  </script>

  <script src="https://cdn.bootcss.com/react/16.4.2/umd/react.development.js"></script>
  <script src="https://cdn.bootcss.com/react-dom/16.2.0/umd/react-dom.development.js"></script>
  <script src="https://cdn.bootcss.com/babel-standalone/7.0.0-beta.3/babel.js"></script>

</body>
</html>